package com.fastCms.business.mall.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Size;
import java.util.List;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: <br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年4月8日 下午1:18:56 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@Data
@ApiModel(value = "ProductSpecPO 商品规格对象", description = "")
public class ProductSpecPO {

	@ApiModelProperty(value = "主键id")
	private String id;

	@ApiModelProperty(value = "组织编码")
	@NotBlank(message = "组织编码不能为空")
	private String organizeCode;

	@ApiModelProperty(value = "规格名称")
	@NotBlank(message = "规格名称不能为空")
	@Size(min = 0, max = 12, message = "规格名称超出字数限制")
	private String specName;

	@ApiModelProperty(value = "规格code")
	private String specCode;

	@ApiModelProperty(value = "商品品类id列表")
	private List<String> categoryIds;

	@ApiModelProperty(value = "备注")
	private String remark;

	public ProductSpecPO() {
		super();
	}

}
